package com.freemarker.main;

import java.util.List;
import java.util.Map;

import com.freemarker.db.JDBCUtil;
import com.freemarker.db.SpringUtil;

public class MainAll {

	public static void main(String[] args) throws Exception {
		System.out.println("------------- start ---------------------\n");
		List<Map> queryTableList = JDBCUtil.getListByMap(SpringUtil.getData("queryTableList"), null);

		for (int i = 0; i < queryTableList.size(); i++) {
			Map<String, String> queryTable = queryTableList.get(i);
			Main.prepare(queryTable.get("table_name"),queryTable.get("table_name"));
		}
		System.out.println("\n------------- end ---------");
	}

}
